package com.study.modules.saas.repository.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("`order`")
public class OrderDO {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("auth_uuid")
    private String authUuid;

    @TableField("store_uuid")
    private String storeUuid;

    @TableField("order_id")
    private String orderId;

    @TableField(value = "account_uuid")
    private String accountUuid;

    @TableField(value = "contact_uuid")
    private String contactUuid;

    @TableField(value = "assigned_to")
    private String assignedTo;

    @TableField(exist = false)
    private List<BillDO> bills;
}
